<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RepeaterSeparatorTemplatePage.aspx.cs" Inherits="RepeaterSeparatorTemplatePage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RecruitVietnamDbConnectionString %>"
                SelectCommand="SELECT [RecruiterID], [Email], [CompanyName], [ContactName], [Address], [Phone] FROM [tblRCAccounts]">
            </asp:SqlDataSource>
        </div>
        <asp:Repeater ID="Repeater1" runat="server" DataMember="DefaultView" DataSourceID="SqlDataSource1">
            <HeaderTemplate>              
            </HeaderTemplate>
            <ItemTemplate>                 
                 <%# DataBinder.Eval(Container.DataItem, "CompanyName")%>
                 <%# DataBinder.Eval(Container.DataItem, "ContactName")%>
                 
            </ItemTemplate>
            <SeparatorTemplate>,</SeparatorTemplate>
            <FooterTemplate>
               
            </FooterTemplate>
        </asp:Repeater>
    
    </div>
    </form>
</body>
</html>
